package com.siwei.mes.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 供应商物料统计
 * 型检预警：根据配置时间，当配置时间+当前日期大于型式检验到期时间，则预警
 * 型检过期：当前日期大于型式检验到期时间，则过期
 * 复检预警：当前时间-上次复检时间大于配置的复检预警天数
 * 复检过期：当前时间-上次复检时间大于复检有效期
 *
 * @Description: 供应商物料统计
 * @Version: 1.0
 * @author: mlchen
 * @date: 2024/7/23 17:43
 */
@Data
public class SupplierCompanyMaterialsStatistics {

    @ApiModelProperty(value = "物料总数")
    private Integer materialsCount = 0;

    @ApiModelProperty(value = "型检预警个数")
    private Integer formalWarnCount = 0;

    @ApiModelProperty(value = "型检过期个数")
    private Integer formalOverdueCount = 0;

    @ApiModelProperty(value = "复检预警个数")
    private Integer doubleWarnCount = 0;

    @ApiModelProperty(value = "复检过期个数")
    private Integer doubleOverdueCount = 0;
}
